package org.hy.persistence.profile;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hy.domain.profile.ProfileVisitor;

public interface ProfileVisitorMapper {
	ProfileVisitor findProfileVisitorById(Integer id);
	
	List<ProfileVisitor> findProfileVisitorByUid(@Param("uid")int uid,@Param("offset") int offset,@Param("size") int limit);
	
	ProfileVisitor findProfileVisitorByIdVisitor(Integer idVisitor);
	
	int insertProfileVisitor(ProfileVisitor profileVisitor);
	
	int updateProfileVisitor(ProfileVisitor profileVisitor);
	
	int deleteProfileVisitor(Integer id);
}
